/**
 * XQuery to Scala Translator
 * Fatemeh Borran-Dejnabadi
 * 15 December 2004
 */

package xquery2src;

/** This class provides a representation for symbol table entries.
 */
class Symbol(val pos:int, val name:String, val symbol_type:Type, val isVariable:boolean) {

  /** The next symbol in the scope.
   */
  var next:Symbol = null;

  override def toString():String = {
    return name + ": " + symbol_type;
  }
}
